package com.apes.framework.plugin.esb.parser.element;

import com.apes.framework.plugin.esb.processor.MapToStringProcessor;
import org.springframework.stereotype.Component;

/**
 * 类描述：MapToJson 转换
 *
 * @ClassName MapToJsonParser
 * @Description 描述
 * @Author wushilong
 * @Date 2022/10/14 9:22
 * @Version 1.0
 */
@Component
public class MapToStringParser extends AbstractNestedProcessorParser {

    /**
     * 可解析的元素列表
     **/
    private final String[] elementNames = {"mapToString"};

    /**
     * 功能：可解析的元素列表
     */
    @Override
    public String[] getNames() {
        return elementNames;
    }

    @Override
    <T extends Class> T getChainProcessorClass() {
        return (T) MapToStringProcessor.class;
    }


}
